home *** CD-ROM | disk | FTP | other *** search
-
-
-
- aaaarrrrrrrraaaayyyy((((1111)))) aaaarrrrrrrraaaayyyy((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- array - execute an array command
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- aaaarrrrrrrraaaayyyy [[[[ooooppppttttiiiioooonnnnssss............]]]] _c_o_m_m_a_n_d [_a_r_g_s...]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _a_r_r_a_y command is used to execute the aaaarrrrrrrraaaayyyy ccccoooommmmmmmmaaaannnndddd specifed by
- "_c_o_m_m_a_n_d _a_r_g_s..." on one or more machines in an array and display the
- resulting output on stdout. An array command is not necessarily the same
- thing as a UNIX command. It is passed to _a_r_r_a_y_d(1M), the array services
- daemon, which is responsible for translating it to an actual UNIX command
- and executing it on the machines that make up the array. Several array
- commands are available by default; these are described below.
-
- _a_r_r_a_y takes several options. The first token on the command line that
- does not constitute a valid option is assumed to mark the beginning of
- the array command. None of the remaining tokens will be examined by
- _a_r_r_a_y, other than to pass them along as arguments to the array command
- itself.
-
- The valid options include:
-
- _----_aaaa _a_r_r_a_y_n_a_m_e
- Specifies the name of the array to which this command should be
- directed. If not specified, the array services daemon's default
- destination will be used.
-
- _----_DDDD When used with _----_ssss, indicates that the request should be sent
- directly to the specified server, rather than forwarded to that
- server by the local array services daemon. This will fail on
- systems that use array services authentication unless the ----KKKKllll and
- ----KKKKrrrr options are also specified. _----_DDDD is the default behavior under
- normal circumstances (but see the description of the _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD______FFFF_OOOO_RRRR_WWWW_AAAA_RRRR_DDDD
- variable, below).
-
- _----_FFFF When used with _----_ssss, indicates that the request should be forwarded to
- the specified server via the local array services daemon, rather
- than sent directly to it. _----_FFFF will become the default behavior if
- the value of the _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD______FFFF_OOOO_RRRR_WWWW_AAAA_RRRR_DDDD environment variable begins with the
- letter "Y" (as in "yes"; it may be in either upper or lower case).
-
- _----_gggg Global command: indicates that the array command should be run in a
- new global array session, that is, a new array session that has been
- assigned a fresh global array session handle.
-
- _----_KKKK_llll _k_e_y
- Use _k_e_y for the local authentication key when communicating directly
- with a remote array services daemon. _k_e_y is an unsigned 64-bit
- value. The default local key is obtained from the environment
- variable _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD______LLLL_OOOO_CCCC_AAAA_LLLL_KKKK_EEEE_YYYY; if that does not exist, no key is used.
- The actual role played by _k_e_y depends on the authentication method
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- aaaarrrrrrrraaaayyyy((((1111)))) aaaarrrrrrrraaaayyyy((((1111))))
-
-
-
- used by array services in a particular configuration. In general,
- it is not used when communicating with an array services daemon on
- the local machine.
-
- _----_KKKK_rrrr _k_e_y
- Use _k_e_y for the remote authentication key when communicating
- directly with a remote array services daemon. _k_e_y is an unsigned
- 64-bit value. The default remote key is obtained from the
- environment variable _AAAA_RRRR_RRRR_AAAA_YYYY_DDDD______RRRR_EEEE_MMMM_OOOO_TTTT_EEEE_KKKK_EEEE_YYYY; if that does not exist, no
- key is used. The actual role played by _k_e_y depends on the
- authentication method used by array services in a particular
- configuration. In general, it is not used when communicating with
- an array services daemon on the local machine.
-
- _----_llll Local request: indicates that the request should not be propagated
- to other machines. This could be useful for testing a new array
- command.
-
- _----_pppp _p_o_r_t
- Specifies the port address of the array services daemon. Defaults
- to the value of the "ARRAYD_PORT" environment variable if present,
- or the standard port number of the "sgi-arrayd" service otherwise.
-
- _----_qqqq Quiet: discard the output of the array command rather than sending
- it to stdout.
-
- _----_ssss _s_e_r_v_e_r
- Specifies the hostname or IP address of the array services daemon.
- Defaults to the value of the "ARRAYD" environment variable if
- present, or "localhost" otherwise.
-
- _----_tttt _v_a_l_u_e
- Specifies the timeout value (in seconds) used for waiting on a
- single array services request. Most commands involve one array
- services daemon requesting services from another array services
- daemon, so it will typically take two times this many seconds before
- the _a_r_r_a_y command itself will timeout. The default is 15 seconds
- (so most array commands will timeout if no response is received in
- _3_0 seconds).
-
- _----_vvvv Verbose messages: display additional progress messages. Repeated
- occurrences (either "-v -v ..." or "-vv...") increases the
- verbosity, although this is generally only useful for debugging
- _a_r_r_a_y_d itself.
-
- UUUUSSSSIIIINNNNGGGG AAAA RRRREEEEMMMMOOOOTTTTEEEE AAAARRRRRRRRAAAAYYYY SSSSEEEERRRRVVVVIIIICCCCEEEESSSS DDDDAAAAEEEEMMMMOOOONNNN
- Ordinarily, the _a_r_r_a_y command uses the array services daemon running on
- the local machine for processing requests. However, there are some
- circumstances where it is useful to contact an array services daemon on
- another machine instead, such as when a smaller machine, perhaps running
- IRIX 5.3 and therefore not capable of running an array services daemon,
- is used as a console interface for an array. There are two ways to
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- aaaarrrrrrrraaaayyyy((((1111)))) aaaarrrrrrrraaaayyyy((((1111))))
-
-
-
- accomplish this. If it is necessary to use a remote array services
- daemon only infrequently, the ----ssss _s_e_r_v_e_r option can be specified on the
- command line to indicate the hostname of the server that should be
- contacted. However, if the remote daemon will be used frequently or
- exclusively (such as in the case where the local machine is being used as
- a console interface to an array, and not as a member of the array itself)
- then an easier approach is to set the environment variable AAAARRRRRRRRAAAAYYYYDDDD to the
- hostname of the remote server. If the ----ssss option is not specified, then
- the _a_r_r_a_y command will use the value of that variable (if it is set)
- rather than trying to contact an array services daemon on the local
- machine.
-
- DDDDEEEEFFFFAAAAUUUULLLLTTTT AAAARRRRRRRRAAAAYYYY CCCCOOOOMMMMMMMMAAAANNNNDDDDSSSS
- The default array services configuration includes several simple array
- commands:
-
- aaaarrrrrrrraaaayyyy kkkkiiiillllllll _A_S_H
- Kills all processes in the array that belong to the array session
- specified by the handle _A_S_H.
-
- aaaarrrrrrrraaaayyyy ppppssss
- Shows the array session handle, machine name, process ID, owner, run
- time and command line for every process in the array that has a
- non-zero array session handle.
-
- aaaarrrrrrrraaaayyyy rrrreeeessssuuuummmmeeee _A_S_H
- Resumes all processes in the array that belong to the array session
- specified by the handle _A_S_H by sending them the SIGCONT signal.
- Presumably this array session had been suspended earlier with aaaarrrrrrrraaaayyyy
- ssssuuuussssppppeeeennnndddd.
-
- aaaarrrrrrrraaaayyyy ssssiiiiggggnnnnaaaallll _s_i_g _A_S_H
- Sends signal _s_i_g to all processes in the array that belong to the
- array session specified by the handle _A_S_H. This is simply a more
- general version of the kill/suspend/resume commands.
-
- aaaarrrrrrrraaaayyyy ssssuuuussssppppeeeennnndddd _A_S_H
- Suspends all processes in the array that belong to the array session
- specified by the handle _A_S_H by sending them the SIGTSTP signal.
-
- aaaarrrrrrrraaaayyyy uuuuppppttttiiiimmmmeeee
- Equivalent to running the _u_p_t_i_m_e(1) command on each machine in the
- array.
-
- aaaarrrrrrrraaaayyyy wwwwhhhhoooo
- Shows the login name, current machine, origin machine and current
- command for every logged-in user of the array.
-
- Note that the available array commands are controlled by the system
- administrator, so some or all of these commands may not be present.
- Other array commands may also be available. Consult your system
- adminstrator for more information.
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-
-
-
- aaaarrrrrrrraaaayyyy((((1111)))) aaaarrrrrrrraaaayyyy((((1111))))
-
-
-
- NNNNOOOOTTTTEEEESSSS
- The array services daemon (_a_r_r_a_y_d(1M)) must be running on all machines
- that are to execute an array command. It does not necessarily have to be
- running on the machine that executes _a_r_r_a_y if an alternate server was
- specified in some way.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- arrayd(1M), arrayd.conf(4).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 4444
-
-
-
-